/**
 * @file      ac_tlm_router.cpp
 * @author    Rafael Ghussn Cano
 * 
 * @brief     Implements a ac_tlm router.
 */

//////////////////////////////////////////////////////////////////////////////
// Standard includes
// SystemC includes
// ArchC includes

#include "ac_tlm_router.h"

//////////////////////////////////////////////////////////////////////////////

/// Namespace to isolate router from ArchC
using user::ac_tlm_router;

/// Constructor
ac_tlm_router::ac_tlm_router( sc_module_name module_name) :
  sc_module( module_name ),
  target_export("router_port"),
  DM_port1("DM_port1", 5242880U),
  DM_port2("DM_port2", 5242880U),
  DM_port3("DM_port2", 5242880U),
  DM_port4("DM_port4", 5242880U),
  DM_port5("DM_port5", 5242880U)
{
    /// Binds target_export to the router
    target_export( *this );
}
